package com.user.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.common.enums.user.MenuStatusEnum;
import com.core.domain.CorePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: stefanie-zy
 * @time: 2024/1/25-11:08
 * @description: Po-角色
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_role")
@Schema(name = "Po-角色")
public class RolePo extends CorePo implements Serializable {
    @Serial
    private static final long serialVersionUID = -5771142417634253230L;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "权限标识")
    private String key;

    @Schema(description = "状态")
    private MenuStatusEnum status;
}
